#include "duck.h"
#include "mallardduck.h"
#include "redheadduck.h"
#include "rubberduck.h"
#include "decoyduck.h"

int main()
{
    MallardDuck* d1 = new MallardDuck();
    d1->display();
    d1->performQuack();
    d1->swim();
    d1->performFly();

    cout << endl;

    RedHeadDuck* d2 = new RedHeadDuck();
    d2->display();
    d2->performQuack();
    d2->swim();
    d2->performFly();

    cout << endl;

    RubberDuck* d3 = new RubberDuck();
    d3->display();
    d3->performQuack();
    d3->swim();
    d3->performFly();

    cout << endl;

    DecoyDuck* d4 = new DecoyDuck();
    d4->display();
    d4->performQuack();
    d4->swim();
    d4->performFly();

    return 0;
}
